import QtQml 2.0
QtObject {
    function test(s: string) {}
}
